package com.richest.api.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.richest.api.dao.OrderCommodityMappingMapper;
import com.richest.api.service.IOrderCommodityMappingService;
import com.richest.bean.OrderCommodityMappingBean;

/**
 * 订单中商品映射信息管理服务实现
 * 
 * @author 杨博
 * @version richest-api 2.0
 */
@Service
public class OrderCommodityMappingServiceImpl implements IOrderCommodityMappingService {

	@Autowired
	private OrderCommodityMappingMapper mapper;

	@Override
	public OrderCommodityMappingBean orderCommodityMappingSelectOne(Long id) {
		return mapper.orderCommodityMappingSelectOne(id);
	}

	@Override
	public List<Map<String, Object>> orderCommodityMappingSelectMap(Map<String, Object> params) {
		return  mapper.orderCommodityMappingSelectMap(params);
	}
}
